package com.fable.sp.core.service.impl;

import com.fable.sp.core.domain.WidgetInstance;
import com.fable.sp.core.widget.Event;
import com.fable.sp.core.widget.EventRequest;
import org.springframework.context.ApplicationContext;

import javax.servlet.http.HttpServletRequest;

/**
 * .
 *
 * @author stormning on 16/8/10.
 */
public class EventRequestImpl extends WidgetRequestImpl implements EventRequest {


    private Event event;

    public EventRequestImpl(WidgetInstance instance, HttpServletRequest request, ApplicationContext appContext) {
        super(instance, request, appContext);
    }


    @Override
    public Event getEvent() {
        return event;
    }

    public void setEvent(Event event) {
        this.event = event;
    }
}
